﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using ControlCenter.Model;
using ControlCenter.Model.WebApiDto;

namespace ControlCenter.Operation
{
    /// <summary>
    /// 应用包执行结果回调操作接口
    /// </summary>
    public interface IResultCallbackOperation
    {
        /// <summary>
        /// 执行结果回调
        /// </summary>
        /// <param name="executionCallbackDto"></param>
        /// <returns></returns>
        Task<bool> ExecutionPackageCallback(ExecutionCallbackDto executionCallbackDto);
        /// <summary>
        /// 查询执行结果日志
        /// </summary>
        /// <param name="paramDto"></param>
        /// <returns></returns>
        Task<PagedData<LogQueryReturnDto>> QueryLog(LogQueryDto paramDto);
    }
}
